<?php
/* 判断合法请求 */
!defined('IAN') && exit('Access Denied');
//引入通用基类
require(CTRLS.DS.'common.php');

class Error
{
	private $tpl;
	public function __construct()
	{
		$this->tpl = Common::getSmarty();
		$this->showError(); 	
	}	
	private function showError()
	{
		$this->tpl->assign('BASE',BASE);		
		$this->tpl->display("user/error.html");	
	}
}
$error = new Error();

?>